package com.shop.dao;

import java.util.ArrayList;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shop.bean.Shop;

public interface ShopDao {

	public ArrayList<Shop> selectAllById(Integer uid);
	public ArrayList<Shop> selectAll(); 
	public int addShop(Shop shop);
	public Shop queryShopById(Integer shop_id);
	public int updateShop(Shop shop);
	public int updateAddShop(Shop shop);
	public int updateSstatic(Shop shop);
	public int deleteShop(Integer shop_id);
	public ArrayList<Shop> queryShopBySname(@Param("sname")String sname);
	public ArrayList<Shop> queryShopByType(String type);
}
